﻿<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="../admin/imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="../admin/imgs/favicon.ico"/>
	<title>接口文档</title>
	<link rel="stylesheet" type="text/css" href="index.css"/>
	<style type="text/css">
	</style>
</head>
<body>
<!--顶部-->
<div id="top">
	铁皮石斛接口文档
	<span id="tongji">接口总数0个</span>
	<a href="javascript:;" id="add" onclick="formDocAdd();">新增接口</a>
	<span id="domain" style="margin-left: 20px;">接口域名：</span>
	<a href="https://www.eolink.com/share/index?shareCode=a909486f822c1c094b178cf67a7b360c" target="_blank" id="outApi">外部文档</a>
</div>

<!--左侧菜单-->
<div id="leftMenu">
	<div class="lm">微信信息保存</div>
</div>

<!--右侧内容-->
<div id="body">
	<div class="title">请求方法：
		<a href="javascript:;" onclick="formDocEdit();">修改</a>
	</div>
	<div class="way">POST</div>
	<div class="title">请求地址：</div>
	<div class="way" id="uribody"></div>
	<div class="title">请求参数说明：</div>
	<table class="apibody" id="tReq">
		<thead>
		<tr>
			<th>数据字段</th>
			<th>字符类型</th>
			<th>是否必须</th>
			<th>备注</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td colspan="4">没有请求的参数</td>
		</tr>
		</tbody>
	</table>
	<div class="title">请求参数实例：</div>
	<textarea class="jsonbody" id="reqbody" readonly></textarea>
	<div class="title">返回数据说明：</div>
	<table class="apibody" id="tBack">
		<thead>
		<tr>
			<th>数据字段</th>
			<th>字符类型</th>
			<th>是否必须</th>
			<th>备注</th>
		</tr>
		</thead>
		<tbody>
		<tr>
			<td colspan="4">没有返回的参数</td>
		</tr>
		</tbody>
	</table>
	<div class="title">返回数据实例：</div>
	<textarea class="jsonbody" id="backbody" readonly></textarea>
	<div style="height: 20px;"></div>
</div>


<!--自定义表单-->
<span id="formPop"></span>
<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="../admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="../admin/js/config.js"></script>
<script type="text/javascript" src="index.js"></script>
<script type="text/javascript">
	//var cw = document.documentElement.offsetWidth;
	//var ch = document.documentElement.offsetHeight;
	var cw = document.documentElement.clientWidth;
	var ch = document.documentElement.clientHeight;
	var id = getParamByUrl('id');
	//var ch = window.innerHeight;
	var bh = ch * 1 - 40;
	var bw = cw * 1 - 200;
	(function () {
		$('#domain').html('接口域名：' + domain);
		$('#body').width(bw).height(bh);
		$('#leftMenu').height(bh);
		if (id != '' && id > 0) { formArys.id = id; }
		leftMenu();
		getOne();
	})();
</script>